package com.dangf.app.launcher.activity

import android.view.MotionEvent
import com.dangf.app.launcher.R
import com.dangf.app.launcher.app.BaseActivity
import com.dangf.app.launcher.app.V
import kotlinx.android.synthetic.main.activity_notice.*


/**
 *
 * Created by hais1992 on 2017/9/21.
 */
class AdvertActivity : BaseActivity(R.layout.activity_notice) {

    override fun onInitViewsAndData() {
        text_title.text = V.mAdvert?.title
        text_message.text = V.mAdvert?.content
    }

    override fun onTouchEvent(event: MotionEvent?): Boolean {
        finish()
        return super.onTouchEvent(event)
    }
}